//
//  ViewController.m
//  LoopScrollView
//
//  Created by cardioray on 2017/4/17.
//  Copyright © 2017年 kinglong. All rights reserved.
//

#import "ViewController.h"
#import "LoopScrollView.h"

#import "Masonry.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    LoopScrollView * v = [[LoopScrollView alloc]initWithFrame:CGRectMake(0, 0, 320, 100)];
    [v setImages:@[[UIImage imageNamed:@"logo"], [UIImage imageNamed:@"bd_logo1"]]];
    [self.view addSubview:v];
    
//    [v mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.left.right.top.mas_equalTo(self.view);
//        make.height.mas_equalTo(@100);
//    }];
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
